package one.stand.fallback;

import com.jmp.base.dto.GoodsSelectCheckRequest;
import com.jmp.base.dto.GoodsSelectCheckResponse;
import com.jmp.feign.GoodsSelectFeign;
import one.stand.model.ResultModel;
import org.springframework.stereotype.Component;

/**
 * @author cjr
 */
@Component
public class GoodsSelectFallback implements GoodsSelectFeign {
    @Override
    public ResultModel<GoodsSelectCheckResponse> check(GoodsSelectCheckRequest request) {
        return ResultModel.faultTolerant();
    }
}
